I have tried to compile my 32 bit program but it returned more then 100 errors, all of them came from windows.inc. One of them is 'language type must be specified', and is repeated about 50 times.
How can I fix this?
:dazzled:
Maybe you have an older version of the windows.inc file, but also might be an option you have or have not specified in your main asm program. Perhaps if you post some code, or attach a source file, it would help us in making a diagnosis of the problem.
here it the code
source code (http://host-a.net/nrdev/SN%20creator.zip)
Nebojsa,
There are parts of the program missing, the subclass procedure "Butn1Proc" is missing. I removed the manually specified include files and used the following,
include \masm32\include\masm32rt.inc
I have got the error count down a lot but there are too many things wrong with it to get it going at the moment.
I looks like you have put the program together in bits without testing each addition. Start again and get the bare dialog going, then add each extra bit assembling it each time until you get it all up and going.
ok, I have fixed almost all errors, but I get another strange error, here is the source code so you can se what is the problem.
Error is in line 6 and 7.
source code (http://host-a.net/nrdev/SN%20creator.zip)
delete line 5, 6, 7. then assembly and link ok.
yes - if you look inside masm32rt.inc, it sets up the model and case option for you
it also has several includes for libs, macros, etc
ok it compiles good, but it returns fatal error in windows
Dialog "Serial Number Creator","MS Sans Serif",10, \ ; caption,font,pointsize
WS_OVERLAPPED or WS_SYSMENU or DS_CENTER, \ ; style
5, \ ; control count
50,50,150,80, \ ; xy co-ordinates
1024 ; memory buffer size
DlgButton "Create", WS_TABSTOP,100,240,50,13,100
DlgButton "Exit", WS_TABSTOP,165,240,50,13,101
DlgButton "About", WS_TABSTOP,200,240,50,13,102
DlgProgress PBS_SMOOTH or WS_BORDER,3,95,253,225,103
;DlgGroup "Numer of the combinations ", 10,15,80,90,104
;DlgRadio "2 combinations", WS_TABSTOP,10,20,50,13,105
;DlgRadio "3 combinations", WS_TABSTOP,10,30,50,13,106
;DlgRadio "4 combinations", WS_TABSTOP,10,40,50,13,107
;DlgRadio "5 combinations", WS_TABSTOP,10,50,50,13,108
;DlgGroup "Separation", 85,15,120,50,109
;DlgRadio "Separation with '-'", WS_TABSTOP,85,20,50,13,110
;DlgRadio "Separation with one space",WS_TABSTOP,85,30,50,13,111
;DlgRadio "Without separation", WS_TABSTOP,85,40,50,13,112
;DlgGroup "Combination type", 85,50,120,90,113
;DlgRadio "Only numbers", WS_TABSTOP,85,60,50,13,114
;DlgRadio "Only letters", WS_TABSTOP,85,70,50,13,115
;DlgRadio "Numbers and letters", WS_TABSTOP,85,80,50,13,116
when I do this modification in my code everything is the same but program doesn't return any error and won't start at all.
Bink !!!
sumpin smells stinkowith
(http://www.instablogsimages.com/images/2008/04/22/aqua_bulb_vol_2_by_mceric_1333.jpg)
:lol :clap: :dance: :naughty: :snooty: :toothy :bg