00001
00002
00003
00004 #include "avexec32.h"
00005 #include <stdio.h>
00006 #include <string.h>
00007
00008
00009 void MsgBoxInfo(char *message, char *title);
00010 void MsgBoxError(char *message, char *title);
00011 void SetWorkingStatus(void);
00012
00013
00014
00015
00016
00017
00018
00019 void doitnow (void)
00020 {
00021 char message[] = "This message should be showing up in the window";
00022 char title[] = "Test Box";
00023
00024 SetWorkingStatus();
00025
00026 }
00027
00028 void MsgBoxInfo(char *message, char *title)
00029 {
00030 char *retstr;
00031 char strpassed[200];
00032 char str1[] = "MsgBox.Info(\"";
00033 char str2[] = "\",\"";
00034 char str3[] = "\")";
00035
00036 strcpy(strpassed, str1);
00037 strcat(strpassed, message);
00038 strcat(strpassed, str2);
00039 strcat(strpassed, title);
00040 strcat(strpassed, str3);
00041
00042
00043 }
00044
00045 void MsgBoxError(char *message, char *title)
00046 {
00047 char *retstr;
00048 char strpassed[200];
00049 char str1[] = "MsgBox.Error(\"";
00050 char str2[] = "\",\"";
00051 char str3[] = "\")";
00052
00053 strcpy(strpassed, str1);
00054 strcat(strpassed, message);
00055 strcat(strpassed, str2);
00056 strcat(strpassed, title);
00057 strcat(strpassed, str3);
00058
00059
00060 }
00061
00062 void SetWorkingStatus(void)
00063 {
00064 char *retstr;
00065
00066
00067 }