home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Class\Lights Problem

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1742
Discussions: 200,982, Posts: 2,379,840, Members: 246,341
Old April 6th, 2003, 09:23 PM   Digg it!   #1
Junior Member
 
Join Date: Mar 2003
Location: Florida USA
Posts: 18
Class\Lights Problem

Hi All….Next Panic Attack…

Sorry panic over, its amazing what a good nights sleep will do

Last edited by Morphios : April 7th, 2003 at 07:22 AM.
Morphios is offline   Reply With Quote
Old April 7th, 2003, 12:03 PM     #2
Junior Member
 
Join Date: Mar 2003
Location: Florida USA
Posts: 18
Thanks problem now solved..

Last edited by Morphios : April 8th, 2003 at 09:48 PM.
Morphios is offline   Reply With Quote
Old April 7th, 2003, 03:52 PM     #3
Ultimate Member
 
strangerstill's Avatar
 
Join Date: Oct 2001
Posts: 1,542
Well, I wouldn't be writing it in C, for starters .
Have you written any code yet - even stuff that doesn't work?
strangerstill is offline   Reply With Quote
Old April 7th, 2003, 04:14 PM     #4
Junior Member
 
Join Date: Mar 2003
Location: Florida USA
Posts: 18
Hi strangerstill

Thanks for replying, I am not writing it in C (I must have written it really badly) its meant to be C++.

As you can see from my feeble attempt at the case step....I am still trying. Although I did manage to somehow write code to get the form designer to change colour, when the button was clicked.
Morphios is offline   Reply With Quote
Old April 7th, 2003, 06:32 PM     #5
Member
 
Join Date: Apr 2002
Location: Georgia
Posts: 137
Well, it looks like you are using ObjectWindows, so that automatically means you MUST use a Borland C++ compiler. (I think ObjectWindows is to Borland as MFC is to Microsoft) They seem pretty equivalent anyhow.

Secondly, I would have to see the class definition of TGPLightsForm in order to know what you are trying to do. I mean, are things such as "Switch" and "State" members of class TGPLightsForm??? ....and if they're not, are those global variables??? ....and if they are global variables,......WHY???? There are good uses for global variables, but that doesn't look like one of them

Also, what is in ABC3Q1U.h ???
What does #pragma package(smart_init) do, and what does #pragma resource "*.dfm" do???

#pragmas are always known to be compiler-specific instructions (actually for the preprocessor), so that makes your code compiler-specific anyway (which it already was, as you are using ObjectWindows)

Without that information, I don't think anyone could help you.
__________________
Jüš† ä €öm¶ù†Ê® §ÇÌÈñŒ mÅjÒ®
Jüš† ä gü¥ is offline   Reply With Quote
Old April 7th, 2003, 08:08 PM     #6
Junior Member
 
Join Date: Mar 2003
Location: Florida USA
Posts: 18
Jüš† ä gü¥

Thanks for letting me know what is needed to get help!! To answer your questjions, yes I am using Borland C++ Builder v5

Thanks code now working...

Morphios

Last edited by Morphios : April 8th, 2003 at 09:49 PM.
Morphios is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Charges against non-tippers dropped.. (20)
Is It Just Me? (3063)
Health Care Rationing (9)
Delete an OS (16)
Nvidia GTX 260 problem (9)
Laptop with wireless problem. (12)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
windows vista security holes (18)
Regular Build (11)
Point and Shoot Camera Suggestions. (7)
windows 7 problem (7)
Internet Lost (5)
Multiple Restarts Required at Boot (5)
Recent Discussions
New Server Configuration Suggestions (0)
Desktop Calendar Application (0)
updating BIOS via winflash, claims fi.. (0)
cheap gaming laptop? (12)
Unallocated Space (2)
help me pls laptop just stopped worki.. (1)
C# + LINQ Help (7)
windows vista security holes (18)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (38)
Nvidia GTX 260 problem (9)
Dynex DX E-402 (3)
EVGA 9800 gtx help with finding a goo.. (12)
Multiple Restarts Required at Boot (5)
Point and Shoot Camera Suggestions. (7)
Delete an OS (16)
cell phone won't work (0)
Is the PSU I received dead? (15)
Can't open Word (12)
Steam ID's, Gamertags etc... (4)
Games, Cables, PCI cards, and more fo.. (6)
Dept. of HS: NSA 'Helped' Develop Vis.. (17)
Linksys WMP54GS wireless card problem.. (5)
Help getting around port 80 for camer.. (5)
Skillsoft Network+ Study Software Que.. (10)
Browsers wont load websites (3)


All times are GMT -4. The time now is 01:37 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.